<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>上传文件</title>
    <link rel="stylesheet" type="text/css" href="../resource/css/Login.css"/>
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"/>
</head>
<body>
<%--将文件上传到HDFS--%>
<script>

</script>
<form action="/UploadServlet" enctype="multipart/form-data" method="post">
    <div id="library">
        <table width="430">
            <tr>
                <td>
                    <nobr>Select the file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</nobr>
                </td>
                <td><input type="file" name="downFile" id="file_input" onchange="change()"></td>
            </tr>
        </table>
        <br><br>
        <div/>
        <%--        Select the file<input type="file"  name="downFile" id="file_input" onchange="change()">--%>
        <button class="btn" type="submit" ><a>Submit</a></button>
</form>
</body>
</html>
